<template>
  <div class="info">info</div>
</template>

<script lang="ts" setup>
import { shoyefeiyeAPI } from '@/services/shouye'
import { onLoad } from '@dcloudio/uni-app'
import { ref } from 'vue'
const uid = ref<any>()
onLoad((option: any) => {
  console.log('onLoad')
  uid.value = option.uid
  getBlogInfo()
})

// 获取页面数据
async function getBlogInfo() {
  const res = await shoyefeiyeAPI({ uid: uid.value })
  console.log(res)

}
</script>

<style scoped></style>
